package br.com.dispositivosmoveis.acompanhamentodeconta.service;

import java.util.List;

import android.database.sqlite.SQLiteConstraintException;
import br.com.dispositivosmoveis.acompanhamentodeconta.abstracts.CrudService;
import br.com.dispositivosmoveis.acompanhamentodeconta.abstracts.ItemService;
import br.com.dispositivosmoveis.acompanhamentodeconta.model.Item;
import br.com.dispositivosmoveis.acompanhamentodeconta.repository.ItemRepositoryImpl;

public class ItemServiceImpl extends CrudService<Item, ItemRepositoryImpl> implements ItemService {

	@Override
	public Long insert(Item entity) throws SQLiteConstraintException, Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void update(Item entity) throws SQLiteConstraintException, Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Item obtain(int id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Item> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Item> getItemsByComanda(Integer idComanda) {
		return this.getRepository().findyByComanda(idComanda);
	}


}
